05. CSS Syntax

CSS Syntax

Now, it's your turn! For this exercise, change the color of Hello, world! to green. You will need to use a selector to select the header tag, and you'll want to change its color property to green.

If you need help, use the CSS for the paragraph tags as a guide.

Workspace

This section contains either a workspace (it can be a Jupyter Notebook workspace or an online code editor work space, etc.) and it cannot be automatically downloaded to be generated here. Please access the classroom with your account and manually download the workspace to your local machine. Note that for some courses, Udacity upload the workspace files onto https://github.com/udacity, so you may be able to download them there.

Workspace Information:

  • Default file path:
  • Workspace type: html-live
  • Opened files (when workspace is loaded): n/a

Solution

Feel free to check out the file named Solution.html in the workspace above to see how we did it. Here was our thought process:

CSS Syntax